<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="file" onchange="upload(event)" multiple>
</body>
<script>
    function upload(event){
        let files = event.target.files;
        for(let i = 0;i<files.length;i++){
            console.log('name：'+ files[i].name);
            console.log('size：'+ files[i].size);
            console.log('type：'+ files[i].type);
        }
    }
</script>
</html>